/**
 * 运单管理 - 路由
 * @author xiaoxujs
 */


import { getItem } from '../../../assets/fun/Antd/numeFun';
import { MenuItem } from '../../../type/antd';
import WaybillManagementPage from '../WaybillManagementPage'; //运单管理页面
import VehicleManagement from '../VehicleManagement'; //  车辆管理页面
import ShippingReport from '../ShippingReport'; // 发运报表


const enumWaybillManagement : MenuItem[] = [
    getItem(
        "运单管理",
        "/home/waybillManagement/waybillManagementPage"
    ),
];

const routerWaybillManagement  = [
    {
      //运单管理页面
      path: "waybillManagement/WaybillManagementPage",
      title: "运单管理页面",
      component: <WaybillManagementPage />,
    },
    {
      //运单管理页面
      path: "waybillManagement/vehicleManagement",
      title: "导入车辆",
      component: <VehicleManagement />,
    },
    {
      //装车数据
      path: "waybillManagement/shippingReport",
      title: "装车数据",
      component: <ShippingReport />,
    },
  ];

export {
    enumWaybillManagement,
    routerWaybillManagement,
}
